package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.RepayLogDao;
import com.open.system.domain.RepayLogDO;
import com.open.system.service.RepayLogService;



@Service
public class RepayLogServiceImpl implements RepayLogService {
	@Autowired
	private RepayLogDao repayLogDao;
	
	@Override
	public RepayLogDO get(Long id){
		return repayLogDao.get(id);
	}
	
	@Override
	public List<RepayLogDO> list(Map<String, Object> map){
		return repayLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return repayLogDao.count(map);
	}
	
	@Override
	public int save(RepayLogDO repayLog){
		return repayLogDao.save(repayLog);
	}
	
	@Override
	public int update(RepayLogDO repayLog){
		return repayLogDao.update(repayLog);
	}
	
	@Override
	public int remove(Long id){
		return repayLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return repayLogDao.batchRemove(ids);
	}

	@Override
	public int updateHasemptyByUserId(Long id) {
		return repayLogDao.updateHasemptyById(id);
	}

	@Override
	public int updateStatus() {
		return repayLogDao.updateStatus();
	}
	
}
